package main

import (
	"fmt"
	"time"
)

func main() {
	for i:=0;i<5;i++ {
		go func(j int){
			hello(j)
		}(i)
	}
	time.Sleep(time.Second)
}
func hello(i int){
	println("hello goroutine :"+fmt.Sprint(i))
}